#ifndef RBNODE_H
#define RBNODE_H
#include "treenode.h"

typedef enum Node_Color{
  Black_node,
  Red_node
}NC;
class RBNode : public TreeNode
{
public:
    RBNode();
    NC getColor() const { return color; }
    void setColor(NC color) { this->color = color; }
protected:
    NC color;
};

#endif // RBNODE_H
